package com.xiaoye.qbproject.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaoye.qbproject.domain.ZbRelation;
import com.xiaoye.qbproject.vo.ZbRelationVo;

import java.util.List;

/**
 * @author Administrator
 * @description 针对表【ZB_RELATION(装备实体关系表)】的数据库操作Service
 * @createDate 2024-12-28 14:38:08
 */
public interface ZbRelationService extends IService<ZbRelation> {

    /**
     * @param toId 上级节点
     * @description: 获取装备实体下被指向的节点信息
     * @author: ChenYao
     * @return: java.util.List<com.xiaoye.qbproject.domain.ZbRelation>
     * @ceateDate: 2024-12-28 14:54
     */

    List<ZbRelation> getFromZbRelationList(String toId);

    /***
     * @description: 设置实体关系
     * @author: ChenYao
     * @param zbRelationVo
     * @return: void
     * @ceateDate: 2024-12-28 15:02
     */
    void addZbRelation(ZbRelationVo zbRelationVo);

    void editZbRelation(ZbRelationVo zbRelationVo);
}
